package com.example.common.constant;


/**
 * Redis缓存key
 * @author GuLin
 * @date 2021-06-18 8:37
 */
public class RedisConstant {

    /** 分类缓存key */
    public final static String CATEGORY_KEY = "category_key";
    /** 分类读取锁  **/
    public final static String CATEGORY_LOCK = "category_lock";
    public final static String LOCK = "lock";
    /** 可重入锁  */
    public final static String ANYLOCK = "anyLock";
    /** 读写锁 */
    public final static String ANYRMLOCK ="anyRWLock";
    public final static String UUID = "uuid";
    /** 闭锁 */
    public final static String ANYCOUNTDOWNLATCH = "anyCountDownLatch";
    /** 信号量  */
    public final static String SEMAPHORE = "semaphore";

}
